package com.service.business.base.controller.req;

import com.service.business.base.enums.SmsTypeEnum;
import io.swagger.annotations.ApiParam;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Setter
@Getter
@ToString
public class VerifyCodeReq {

    @ApiParam
    @NotBlank(message = "args_empty_user_account")
    private String account;

    @NotNull(message = "args_empty_sms_code_type")
    private SmsTypeEnum codeType;

    private String ipAdd;

}
